
import React, { Component } from 'react';
import { Consumer } from "../../../utils/myContext";

export default class GrandSon extends Component {
  render() {
    return (
      <div>
        <h1>孙子组件</h1>
        <Consumer>
          {
            (value)=><p>value:{value}</p>
          }
        </Consumer>
      </div>
    )
  }
}
